#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
ffmpeg -i "$var" -b 1048576 -f asf -vcodec wmv2 -acodec wmav2 -
